<?php 
require_once '../../include.php';
checkLogin();

?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
	<title>后台管理</title>
	<link rel="stylesheet" href="../vender/sui/sui.min.css">
	<link rel="stylesheet" href="../css/style.css">
	<link rel="stylesheet" href="../css/admin.css">
</head>
<body>
	<!--header-->
	<div class="header">
		<div class="sui-navbar navbar-inverse">
			<div class="navbar-inner">
				<a href="index.html" class="sui-brand"><img src="../img/logo.png"></a>
				<ul class="sui-nav">
					<li class="active"><a href="index.php">网站后台管理系统</a></li>
				</ul>
				<ul class="sui-nav pull-right">
					<li><a href="test/test.html">测试</a></li>
					<li><a href="" target="_blank">PC网站首页</a></li>
					<li><a href="" target="_blank">wap网站首页</a></li>
					<li class="sui-dropdown"><a href="javascript:;" data-toggle="dropdown" class="dropdown-toggle">
					<?php 
						if($_SESSION['adminname']){
							echo $_SESSION['adminname'];
						}elseif($_COOKIE['adminname']){
							echo $_COOKIE['adminname'];
						}
					?> 
					<i class="caret"></i></a>
						<ul class="sui-dropdown-menu" role="menu">
							<li role="presentation"><a href="javascript:;" role="menutiem" tabindex="-1" rel="SysConfig/editPassword.php" class="iframeSrc">修改密码</a></li>	
							<li role="presentation"><a href="javascript:;" role="menutiem" tabindex="-1" id="loginOut">退出登录</a></li>	
						</ul>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<!--header /-->
	<!--body-->
	<div class="body nav-full">
		<!--左侧菜单-->
		<div class="nav">
			<div class="nav-body">
				<div class="nav-fold sui-icon icon-pc-th"></div>
				<div id="navList">
					<div class="nav-title"><span class="sui-icon icon-pc-chevron-bottom"></span>相关配置</div>
					<ul class="nav-trans" style="display: none;">
						<li><a href="javascript:;" rel="sysConfig/sysConfigSet.php" class="iframeSrc">网站基本配置</a></li>
						<li><a href="javascript:;" rel="sysConfig/articleList.php" class="iframeSrc">网站文章管理</a></li>
						<li><a href="javascript:;" rel="sysConfig/editPassword.php" class="iframeSrc">修改后台密码</a></li>
						<li><a href="javascript:;" rel="sysConfig/modulesList.php" class="iframeSrc">菜单模块</a></li>
						<li><a href="javascript:;" rel="sysConfig/menusList.php" class="iframeSrc">功能列表</a></li>
					</ul>
					<div class="nav-title"><span class="sui-icon icon-pc-chevron-bottom"></span>后台管理相关</div>
					<ul class="nav-trans" style="display: none;">
						<li><a href="javascript:;" rel="manager/managerList.php" class="iframeSrc">管理员管理</a></li>
						<li><a href="javascript:;" rel="manager/departmentList.php" class="iframeSrc">部门管理</a></li>
						<!-- <li><a href="javascript:;" rel="manager/managerRole.php" class="iframeSrc">权限管理</a></li> -->
					</ul>
					<div class="nav-title"><span class="sui-icon icon-pc-chevron-bottom"></span>用户相关</div>
					<ul class="nav-trans" style="display: none;">
						<li><a href="javascript:;" rel="user/userList.php" class="iframeSrc">用户管理</a></li>
						<li><a href="javascript:;" rel="user/userAuthList.php" class="iframeSrc">认证申请管理</a></li>
						<li><a href="javascript:;" rel="user/moneyDetailList.php" class="iframeSrc">资金明细</a></li>
						<li><a href="javascript:;" rel="user/withdrawalList.php" class="iframeSrc">提现管理</a></li>
						<li><a href="javascript:;" rel="user/couponList.php" class="iframeSrc">优惠券管理</a></li>
					</ul>
					<div class="nav-title"><span class="sui-icon icon-pc-chevron-bottom"></span>商家相关</div>
					<ul class="nav-trans" style="display: none;">
						<li><a href="javascript:;" rel="shop/shopList.php" class="iframeSrc">商家管理</a></li>
						<li><a href="javascript:;" rel="shop/shopAuthList.php" class="iframeSrc">商家申请管理</a></li>
						<li><a href="javascript:;" rel="shop/productList.php" class="iframeSrc">产品管理</a></li>
						<li><a href="javascript:;" rel="shop/proClassList.php" class="iframeSrc">产品分类管理</a></li>
						<li><a href="javascript:;" rel="shop/orderList.php" class="iframeSrc">订单管理</a></li>
					</ul>
					<div class="nav-title"><span class="sui-icon icon-pc-chevron-bottom"></span>广告相关</div>
					<ul class="nav-trans" style="">
						<li><a href="javascript:;" rel="advertisement/adClassList.php" class="iframeSrc">广告位分类管理</a></li>
						<li><a href="javascript:;" rel="advertisement/adList.php" class="iframeSrc">广告管理</a></li>
					</ul>
				</div>
			</div>
		</div>
		<!--左侧菜单 /-->
		<!--content-->
		<div class="content">
			<div class="content-body">
				<iframe src="home.php" id="iframe"></iframe>
			</div>
		</div>
		<!--content /-->
	</div>
	<!--body /-->
</body>
</html>
<script src="../vender/jquery/jquery-1.11.1.js"></script>
<script src="../vender/jquery/jquery.alerts.js"></script>
<script src="../vender/sui/sui.js"></script>
<script src="../scripts/admin.js"></script>
<script src="../scripts/boxJs.js"></script>